package 泛型;

public class MySubClass extends MyClass<String> {

    public static void main(String[] args) {
        MySubClass mySubClass = new MySubClass();
        mySubClass.printType(); // 输出：java.lang.String
    }
}

